package com.onpositive.data.kvstorage;

import com.onpositive.data.IPropertyMetadata;
import com.onpositive.datamap.item.SingleDataObject;

public interface IKeyValueCollectionCreator {

	String alloc(String name);
	
	void addProperty(String key,IPropertyMetadata m);
	
	void store(String key,SingleDataObject object);
	
	void storeIndex(String key,String id,Object[]values);
	
	DataCollectionInfo commit(String key,DataCollectionInfo info);
	
	void rollback(String key);

	
}
